package com.cola.demo1.service.ipml;

import com.cola.demo1.service.UserService;
import org.springframework.stereotype.Component;

/**
 * @Grup:com.cola.demo.service.ipml
 * @Auther:cola
 * @Data:2021/4/18-2021-04-13:30
 * @version:1.0
 */
@Component//默认id是首字母小写的类名,装配时使用@Qualifier
//@Qualifier("festival")
public class UserServiceFestival implements UserService {
    @Override
    public void add() {
        System.out.println("注册用户并且发送优惠券");
    }
}
